<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<%@include file="/pages/include/base-head.jsp"%>
	<%@include file="/pages/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${skin}/js/system/reports.js"></script>
	<script type="text/javascript">
		var disablestr='<i class="red">锁定</i>';
	</script>
  </head>
  <body>
  	<div class="container">
	    <table id="datagrid" data-options="
   			url:'${contextpath}/report/form/query',  
   			toolbar:'#toolbar'">
			<thead>
				<tr>
					<th data-options="field:'name',width:150">SQL语句名</th>
					 <th data-options="field:'description',width:80">功能描述</th>
					 <th data-options="field:'createTime',width:150">建立时间</th>
				</tr>
			</thead>
		</table>
  	</div>
  	
  	<div id="toolbar" style="padding:2px;">
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-exported',plain:true,group:'single'" onclick="report.form.exported();">导出</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-print',plain:true,group:'single'" onclick="report.form.print();">打印</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="report.form.query();">查询</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="report.form.add();">添加</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true,group:'single'" onclick="report.form.update();">修改</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true,group:'single'" onclick="report.form.remove();">删除</a>
		<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-history',plain:true,group:'single'" onclick="report.form.history();">历史</a>
	</div>
	
	<div id="query-dialog">
		<form id="query-form" class="dialog-data-form hidden">
	    	<table cellspacing="4">
	    		<tbody>
	    			<tr>
	    				<td class="field">SQL语句名</td>
	    				<td>
	    					<input name="name" type="text" class="field" value=""/>
	    				</td>
	    			</tr>
	    		</tbody>
	    	</table>
	   	</form>
	</div>

  </body>
</html>
